package com.example.textviewactivity.pojo;

import java.io.Serializable;

public class Account implements Serializable {
    private Integer imageId;
    private String title;
    private String intro;
    private Double price;

    public Account() {
    }

    public Account(Integer imageId, String title, String intro, Double price) {
        this.imageId = imageId;
        this.title = title;
        this.intro = intro;
        this.price = price;
    }

    public Integer getImageId() {
        return imageId;
    }

    public void setImageId(Integer imageId) {
        this.imageId = imageId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getIntro() {
        return intro;
    }

    public void setIntro(String intro) {
        this.intro = intro;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    @Override
    public String toString() {
        return "Account{" +
                "imageId=" + imageId +
                ", title='" + title + '\'' +
                ", intro='" + intro + '\'' +
                ", price=" + price +
                '}';
    }
}
